export const searchList = [
  {
    type: 'input',
    name: '被评教师',
    field: 'evalTeacherName',
  },
]

export const listColumns = [
  {
    title: '被评教师',
    key: 'evalTeacherName',
  },
  {
    title: '所在部门',
    key: 'deptName',
  },
  {
    title: '综合得分',
    key: 'totalScore',
  },
  {
    title: '评价时间',
    key: 'createTime',
  },
]

export const actionArr = [
  {
    action: 'look',
    value: '查看',
  },
  {
    action: 'edit',
    value: '编辑',
  },
  {
    action: 'process',
    value: '办理',
  },
  {
    action: 'del',
    value: '删除',
  },
]
export const btnList = [
  {
    action: 'add',
    value: '新增',
    auth: ''
  }
];
export const rules = {
  evalTeacherName: [
    { required: true, message: '请选择被评教师', trigger: 'change' }
  ],
  teacherName: [
    { required: true, message: '请选择评价教师', trigger: 'change' }
  ],
  deptId: [
    { required: true, message: '请选择所在部门', trigger: 'change' }
  ],
  scoreA: [
    { required: true, message: '请输入教学内容专业性评分', trigger: 'change' },
    { type: 'number', min: 1, max: 10, message: '评分范围为1-10', trigger: 'change' }
  ],
  scoreB: [
    { required: true, message: '请输入实训指导规范性评分', trigger: 'change' },
    { type: 'number', min: 1, max: 10, message: '评分范围为1-10', trigger: 'change' }
  ],
  scoreC: [
    { required: true, message: '请输入课程创新参与度评分', trigger: 'change' },
    { type: 'number', min: 1, max: 10, message: '评分范围为1-10', trigger: 'change' }
  ],
  scoreD: [
    { required: true, message: '请输入师德师风表率评分', trigger: 'change' },
    { type: 'number', min: 1, max: 10, message: '评分范围为1-10', trigger: 'change' }
  ],
  scoreE: [
    { required: true, message: '请输入校企合作协同力评分', trigger: 'change' },
    { type: 'number', min: 1, max: 10, message: '评分范围为1-10', trigger: 'change' }
  ],
  scoreF: [
    { required: true, message: '请输入团队教研贡献评分', trigger: 'change' },
    { type: 'number', min: 1, max: 10, message: '评分范围为1-10', trigger: 'change' }
  ],
  scoreG: [
    { required: true, message: '请输入学生管理协作评分', trigger: 'change' },
    { type: 'number', min: 1, max: 10, message: '评分范围为1-10', trigger: 'change' }
  ],
  scoreH: [
    { required: true, message: '请输入教学资源共享性评分', trigger: 'change' },
    { type: 'number', min: 1, max: 10, message: '评分范围为1-10', trigger: 'change' }
  ],
  scoreI: [
    { required: true, message: '请输入沟通协调效评分', trigger: 'change' },
    { type: 'number', min: 1, max: 10, message: '评分范围为1-10', trigger: 'change' }
  ],
  scoreJ: [
    { required: true, message: '请输入职业技能提升度评分', trigger: 'change' },
    { type: 'number', min: 1, max: 10, message: '评分范围为1-10', trigger: 'change' }
  ],
  emergencyHandling: [
    { required: true, message: '请输入应急事件处理', trigger: 'change' },
  ],
  totalScore: [
    { required: true, message: '请输入综合得分', trigger: 'change' }
  ],
  isAnonymousId: [
    { required: true, message: '请选择是否匿名', trigger: 'change' }
  ]
}